<template>
	<view>
		<view style="overflow: hidden;">
			<view v-for="(item,index) in list" :key="index" style="background-color: #fff;
			height: 130px;padding: 5px;overflow: hidden;border-radius: 5px;border-bottom: 1px solid #dedede;">
				<view style="width: 35%;height: 100%;display: block;float: left;">
					<image style="display: block;width: 100%;height: 100%;" src="https://cs4.hephp.cn/uploads/20240705/8e0b73cf9b63cdb737dbd5da44a2459a.png"></image>
				</view>
				<view style="height: 100%;float: left;width: 65%;padding: 5px;">
					<view style="height: 40px;line-height: 20px;font-weight: 600;font-size: 16px;overflow: hidden;">{{item.title}}</view>
					<view style="overflow: hidden;height: 25px;margin-top: 10px;">
						<view style="float: left;width: 50%;text-align: left;font-size: 14px;">{{item.cname}}</view>
						<view  style="float: left;width: 50%;text-align: right;font-size: 14px;">x{{num}}</view>
					</view>
					<view style="color: #ff0000;font-size: 16px;font-weight: 900;margin-top: 10px;">
						¥ {{item.num}}
					</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		name:"shopdetail",
		props:{
			list:{
				type:Array
			},
			num:{
				type:String
			}
		},
		data() {
			return {
				
			};
		}
	}
</script>

<style lang="scss">

</style>